package com.boe.hbd.server.servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DefaultServlet extends HttpServlet {
	 @Override 
	    protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, 
	            IOException 
	    { 
	        final PrintWriter out = resp.getWriter(); 
	        out.println(req.getServletPath());
	        out.flush(); 
	        out.close(); 
	    } 
}
